Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawLines Method / DrawLines(PointF[],Color,Single,Single[]) Method
The array of points to connect.
The line color.
The line width.
The dash pattern.

In This Topic
    DrawLines(PointF[],Color,Single,Single[]) Method
    In This Topic
    Draws a series of connected lines, using a specified line style.

    If the dashPattern array contains two or more items, the lines are drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

    Syntax
    'Declaration
     
    Public Overloads Sub DrawLines( _
       ByVal points() As System.Drawing.PointF, _
       ByVal lineColor As System.Drawing.Color, _
       ByVal lineWidth As System.Single, _
       ByVal dashPattern() As System.Single _
    ) 
    public void DrawLines( 
       System.Drawing.PointF[] points,
       System.Drawing.Color lineColor,
       System.float lineWidth,
       System.float[] dashPattern
    )

    Parameters

    points
    The array of points to connect.
    lineColor
    The line color.
    lineWidth
    The line width.
    dashPattern
    The dash pattern.
    See Also